package com.taijihuabao.modules.enums.optenums.dept;

/**
 * @author xiaoboyu
 * 部门枚举
 */
public enum DeptEnum {

    //部门
    GENERALMANAGER("generalMangener","总经理办公室"),
    PERSONNEL_DEPT("personnelDept","人事部"),

    //部门角色
    ADMINISTRATOR("administrator","主管"),
    ASSESSOR("assessor","审核员"),
    ATTENDANCE_COMMISSIONER("attendanceCommissioner","考勤专员"),

    ;

    /**
     * 编码
     */
    private String code;
    /**
     * 信息
     */
    private String message;

    DeptEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
